Skip to content

fix(app): composer approval control + settings cleanups - #49

Merged
deepagent-ai merged 1 commit into
devfrom
fix/settings-composer-ux
Jul 10, 2026
Merged

fix(app): composer approval control + settings cleanups#49
deepagent-ai merged 1 commit into
devfrom
fix/settings-composer-ux

Conversation

@lxrzlyr

@lxrzlyr lxrzlyr commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Four settings/composer UX fixes, rebased cleanly onto the latest dev (supersedes #47, whose first 5 commits already landed via #46).

Changes

  1. Share URL i18n — the Sharing settings section was English-only; added zh + zht translations and backfilled all 15 non-English locales so the settings-key parity test passes.
  2. Approval control → composer — removed the auto-accept row from settings; added an ApprovalControl next to the build/plan agent selector (Codex-style two-option picker: "Request approval" default / "Auto-approve"), directory-scoped, backed by the existing permission context.
  3. Servers tab — merged the duplicate "Add server" + "Connect to server" buttons into one "Add server" menu with two items.
  4. Import — the run button is now a full-width bar button under the options (Cancel beside it while running).

Verification

  • App suite: 540 pass
  • i18n parity: green
  • Typecheck: clean (15/15 tasks in pre-push)

🤖 Generated with Claude Code

Four settings/composer UX fixes.

1. Share URL i18n: the Sharing section (section title + shareUrl
   title/description/placeholder) was English-only, so it showed
   untranslated. Added zh + zht translations, and backfilled all 15
   non-English locales so the settings-key parity test passes (it was
   already red on these keys + the earlier expertPanelDefault keys).

2. Approval control moved to the composer: removed the auto-accept row
   from settings and added an ApprovalControl next to the build/plan
   agent selector, modeled on Codex's approval selector — a two-option
   picker ("Request approval" default, "Auto-approve" when armed) whose
   button label reflects the current mode. Directory-scoped, backed by
   the existing permission context (isAutoAcceptingDirectory /
   toggleAutoAcceptDirectory).

3. Servers tab: the duplicate "Add server" + "Connect to server" buttons
   are merged into one "Add server" menu with two items (Add HTTP server
   / Connect to server), matching the single-entry status popover.

4. Import: the run button is now a full-width bar button under the
   options (with Cancel beside it while running) instead of a small
   right-aligned row control.

Tests: i18n parity green; settings-UX test updated to assert the
approval control moved to the composer. App suite 540 pass, typecheck
clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@deepagent-ai
deepagent-ai merged commit 3999a38 into dev Jul 10, 2026
4 of 10 checks passed
@deepagent-ai
deepagent-ai deleted the fix/settings-composer-ux branch July 10, 2026 05:07
lxrzlyr pushed a commit that referenced this pull request Jul 10, 2026
Four settings/composer UX fixes, rebased cleanly onto the latest `dev`
(supersedes #47, whose first 5 commits already landed via #46).

## Changes
1. **Share URL i18n** — the Sharing settings section was English-only;
added zh + zht translations and backfilled all 15 non-English locales so
the settings-key parity test passes.
2. **Approval control → composer** — removed the auto-accept row from
settings; added an `ApprovalControl` next to the build/plan agent
selector (Codex-style two-option picker: "Request approval" default /
"Auto-approve"), directory-scoped, backed by the existing permission
context.
3. **Servers tab** — merged the duplicate "Add server" + "Connect to
server" buttons into one "Add server" menu with two items.
4. **Import** — the run button is now a full-width bar button under the
options (Cancel beside it while running).

## Verification
- App suite: 540 pass
- i18n parity: green
- Typecheck: clean (15/15 tasks in pre-push)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: deepagent-ai <jamessmithm539@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@lxrzlyr lxrzlyr mentioned this pull request Jul 10, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants